riscv: ax25: Hide the ax25-specific Kconfig option
authorBin Meng <[email protected]>
Wed, 12 Dec 2018 14:12:28 +0000 (06:12 -0800)
committerAndes <[email protected]>
Tue, 18 Dec 2018 01:56:26 +0000 (09:56 +0800)
commit44fe795c149cac67a6dbc12a16f7ec5d813b9523
treee56e283ddde7e4021fdaa7a77464d1c6b6467f44
parent60262cd041529cabd5fbabb6f2077495fa922fca
riscv: ax25: Hide the ax25-specific Kconfig option

There is no need to expose RISCV_NDS to the Kconfig menu as it is
an ax25-specific option. Introduce a dedicated Kconfig option for
the cache ops of ax25 platform and use that to guard the cache ops.

Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Lukas Auer <[email protected]>
Reviewed-by: Rick Chen <[email protected]>
arch/riscv/cpu/ax25/Kconfig
arch/riscv/cpu/ax25/cache.c
board/AndesTech/ax25-ae350/Kconfig